-- GENERATED SPELL FOR [High Elf Ranger] --


function spell0_19000(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(15547,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19000', 613, 1)
end

function Sorts_19000(pUnit, Event)
local choix_sorts_19000 = math.random(0, 0)
if choix_sorts_19000 == 0 then
pUnit:RegisterEvent('spell0_19000', 1, 1)
end
end

function mob19000_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19000', math.random(1500, 3000), 1)
end

function mob19000_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19000_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19000_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19000, 1, 'mob19000_Action')
RegisterUnitEvent(19000, 2, 'mob19000_Leave')
RegisterUnitEvent(19000, 3, 'mob19000_Kill')
RegisterUnitEvent(19000, 4, 'mob19000_Die')
